package com.heny.demo.dbutils;

import lombok.Data;

/**
 * @author litao.cc
 * @version DynamicTableModel.java v0.1 t2025/5/5 19:59
 * @date 2025/5/5 19:59
 * @description 数据库动态表名配置模型
 */
@Data
public class DynamicTableModel {
    private int deviceTypeId;
    private int y;
    private int m;
    private int d;
    private int h;

    public DynamicTableModel() {
    }

    public DynamicTableModel(int deviceTypeId) {
        this.deviceTypeId = deviceTypeId;
    }

    public DynamicTableModel(int deviceTypeId, int y) {
        this.deviceTypeId = deviceTypeId;
        this.y = y;
    }

    public DynamicTableModel(int deviceTypeId, int y, int m) {
        this.deviceTypeId = deviceTypeId;
        this.y = y;
        this.m = m;
    }

    public DynamicTableModel(int deviceTypeId, int y, int m, int d) {
        this.deviceTypeId = deviceTypeId;
        this.y = y;
        this.m = m;
        this.d = d;
    }

    public DynamicTableModel(int deviceTypeId, int y, int m, int d, int h) {
        this.deviceTypeId = deviceTypeId;
        this.y = y;
        this.m = m;
        this.d = d;
        this.h = h;
    }
}
